package com.situ.mall.service;

import java.util.List;

import com.situ.mall.entity.Order;
import com.situ.mall.entity.OrderItem;
import com.situ.mall.entity.Result;

public interface IOrderService {
	public boolean insert(Order order);

	public List<Order> selectByUserId(Integer userId);

	public List<OrderItem> selectOrderItemByOrderId(long orderNo);

	public Result selectByPage(Integer page, Integer limit);

	public boolean deleteById(Integer id, Long orderNo);

	public Order selectByOrderNo(Long orderNo);

	public boolean deleteAll(Integer[] ids, Long[] orderNos);
	
}